import Main from '@/components/Main'

export default [
  {
    path: '/',
    name: '_index',
    redirect: '/index',
    component: Main,
    meta: {
      notCache: true
    },
    children: [
      {
        path: '/index',
        name: 'index',
        meta: {
          title: '首页',
          notCache: true,
          icon: 'md-apps'
        },
        component: () => import('@/views/Product/index.vue')
      }
    ]
  },
  {
    path: '/about',
    name: '_about',
    component: Main,
    meta: {
      notCache: true
    },
    children: [
      {
        path: '/index',
        name: 'about',
        meta: {
          title: '关于',
          notCache: true,
          icon: 'md-apps'
        },
        component: () => import('@/views/Product/about.vue')
      }
    ]
  }
]
